package com.webonn.frame.conf;

import com.fasterxml.jackson.annotation.JsonProperty;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * Created by Administrator on 2016/3/5.
 */
public class JpushConfiguration {

    /**
     * product
     */
    @JsonProperty
    @NotEmpty
    public boolean product = false;

    /**
     * Enabled
     */
    @JsonProperty
    @NotEmpty
    public boolean enabled = false;

    /**
     * sound
     */
    @JsonProperty
    @NotEmpty
    public String sound="default";

    /**
     * appKey
     */
    @JsonProperty
    @NotEmpty
    public String appKey="";

    /**
     * masterSecret
     */
    @JsonProperty
    @NotEmpty
    public String masterSecret="";

    public boolean isEnabled() {
        return enabled;
    }

    public void setEnabled(boolean enabled) {
        this.enabled = enabled;
    }

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    public String getMasterSecret() {
        return masterSecret;
    }

    public void setMasterSecret(String masterSecret) {
        this.masterSecret = masterSecret;
    }

    public boolean isProduct() {
        return product;
    }

    public void setProduct(boolean product) {
        this.product = product;
    }

    public String getSound() {
        return sound;
    }

    public void setSound(String sound) {
        this.sound = sound;
    }
}
